import request from '@/utils/request'

// 查询血氧列表
export function listRing_blood_oxygen(query) {
  return request({
    url: '/ring/ring_blood_oxygen/list',
    method: 'get',
    params: query
  })
}

// 查询血氧详细
export function getRing_blood_oxygen(id) {
  return request({
    url: '/ring/ring_blood_oxygen/' + id,
    method: 'get'
  })
}

// 新增血氧
export function addRing_blood_oxygen(data) {
  return request({
    url: '/ring/ring_blood_oxygen',
    method: 'post',
    data: data
  })
}

// 修改血氧
export function updateRing_blood_oxygen(data) {
  return request({
    url: '/ring/ring_blood_oxygen',
    method: 'put',
    data: data
  })
}

// 删除血氧
export function delRing_blood_oxygen(id) {
  return request({
    url: '/ring/ring_blood_oxygen/' + id,
    method: 'delete'
  })
}
